This README file provides instructions on how to replicate the results of the paper "The misruling elites: the state, local elites, and the social geography of the Chinese revolution". The Stata do file used for analysis is "The Misruling Elites_code.do". 

1. Prerequisites
The do file was developed using Stata version 17, and it is recommended to use the same or a compatible version.

2. Data
The data required for replication is named "The Misruling Elites_data.dta" and includes 744 observations.

3. Set the Working Directory
Before running the Stata do file, set the working directory to the location of the do file and data. Use the following command:
cd "path/to/your/directory"
The do file will execute all necessary commands to replicate the results.

4. Output
The do file will generate Tables 3, 4, and 5. The tables will be saved in the same working directory unless another output directory is specified.

5. Additional Notes
Additional details about the data, variables, and methodology are available in the paper.
If you encounter any issues during replication, please contact the authors.
